From 908d4f1d1fe327697f2d9e81a175a3df0b77e6dc Mon Sep 17 00:00:00 2001 From: Daniel Boles Date: Fri, 29 Jun 2018 18:53:54 +0100 Subject: [PATCH] defaultvalue: Ignore property to actually pass GtkFontChooserWidget:tweak-action gets set in init(), so we have to skip testing that it is the default NULL for a GObject, or the test fails. --- testsuite/gtk/defaultvalue.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/testsuite/gtk/defaultvalue.c b/testsuite/gtk/defaultvalue.c index 05f176f950..1f73fa5825 100644 --- a/testsuite/gtk/defaultvalue.c +++ b/testsuite/gtk/defaultvalue.c @@ -232,6 +232,15 @@ G_GNUC_BEGIN_IGNORE_DEPRECATIONS strcmp (pspec->name, "cell-area-context") == 0)) continue; +G_GNUC_END_IGNORE_DEPRECATIONS + + /* This is set in init() */ + if (g_type_is_a (type, GTK_TYPE_FONT_CHOOSER_WIDGET) && + strcmp (pspec->name, "tweak-action") == 0) + continue; + +G_GNUC_BEGIN_IGNORE_DEPRECATIONS + if (g_type_is_a (type, GTK_TYPE_ICON_VIEW) && (strcmp (pspec->name, "cell-area") == 0 || strcmp (pspec->name, "cell-area-context") == 0)) @@ -380,6 +389,7 @@ G_GNUC_END_IGNORE_DEPRECATIONS if ((pspec->flags & G_PARAM_READABLE) == 0) continue; + /* This is desktop-dependent */ if (g_type_is_a (type, GTK_TYPE_WINDOW) && strcmp (pspec->name, "decoration-button-layout") == 0) continue; -- 2.30.2